<template>
	<view>
	    <cu-custom bgColor="bg-gradual-fff" isBack="true">
	    	<block slot="content">{{info.name}}</block> 
	    </cu-custom>
	    <u-loading-page :loading="true" loading-text="loading..." v-if="showLoading"></u-loading-page>
	    <view v-show="!showLoading">
			<view class="content_a">
				<u-parse :content="info.description"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
import request from '@/common/request.js';
export default {
  data() {
    return {
	  showLoading:true,
      info:[],
	  id:'',
	  type:'',
	  uid:0,
    };
  },
  onLoad: function (options) {
	this.id=options.id;
	this.type=options.type;
	this.user_post();
	this.uid=uni.getStorageSync('uid');
  },
  methods: {
	  user_post(){
	  	let paramsList = {
			id:this.id,
			type:this.type
	  	}
	  	let optsList = {
	  		url: 'p-wz_config',
	  		method: 'post'
	  	};
	  	let _this=this;
	  	request.httpRequest(optsList, paramsList).then(res => {
	  		if(res.data.code == 200){
	  			_this.info=res.data.data;
				uni.setNavigationBarTitle({
					title: _this.info.name
				});
	  		}
	  		this.showLoading=false;
	  	});
	  },
  }
};
</script>
<style>
.content_a{
	padding: 30rpx;
}
.store_info_d{
	width: 750rpx;
	height: 160rpx;
	background: #FFFFFF;
	border-radius: 50rpx 50rpx 0rpx 0rpx;
	position: fixed;
	bottom: 0;
}
.store_info_d_a{
	width: 280rpx;
	height: 90rpx;
	background: #FF6000;
	border-radius: 45rpx;
	margin: auto;
	margin-top: 20rpx;
	font-family: PingFang SC;
	font-weight: 500;
	font-size: 28rpx;
	color: #FFFFFF;
	text-align: center;
	line-height:90rpx;
}
.franchise_show_a{
	width: 580rpx;
	height:auto;
	background: #FFFFFF;
	border-radius: 10rpx;
	padding: 80rpx 40rpx;
}
.franchise_show_a_a{
	width: 495rpx;
	height: 150rpx;
	background: #FEF7EF;
	border-radius: 10rpx;
	margin: auto;
	margin-bottom: 25rpx;
	padding: 16rpx 40rpx;
}
.franchise_show_a_a_a{
	width: 118rpx;
	height: 118rpx;
	float: left;
	border-radius: 50%;
}
.franchise_show_a_a_a image{
	width: 118rpx;
	height: 118rpx;
	border-radius: 50%;
}
.franchise_show_a_a_b{
	font-family: PingFang SC;
	font-weight: 500;
	font-size: 40rpx;
	color: #F05A24;
	line-height: 118rpx;
	float: left;
	margin-left: 42rpx;
}
.franchise_show_a_b{
	height: 76rpx;
	overflow: hidden;
}
.franchise_show_a_b_a{
	width: 220rpx;
	height: 76rpx;
	background: #EDEDED;
	border-radius: 38rpx;
	float: left;
	font-family: PingFang SC;
	font-weight: 800;
	font-size: 28rpx;
	color: #FF6000;
	line-height: 76rpx;
	text-align: center;
}
</style>